# -*- coding: utf-8 -*-
# todo.urls
#

from kay.routing import (
  ViewGroup, Rule
)

view_groups = [
  ViewGroup(
    Rule('/', endpoint='index', view='todo.views.index'),
    Rule('/todos', endpoint='todos', view='todo.views.todos'),
    Rule('/todo/<int:id>', endpoint='todo', view=('todo.views.TodoHandler', (), {})),
    Rule('/todo/new', endpoint='todo'),
    )
]

